package cn.iocoder.yudao.module.erp.controller.admin.purchaseplan.vo.purchaseminordetail;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

@Schema(description = "管理后台 - 小额采购计划明细 Response VO")
@Data
@ExcelIgnoreUnannotated
@Accessors(chain = false)
public class PurchaseMinorDetailExportVO {

    @Schema(description = "物料/服务/工程名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("物料/服务/工程名称")
    private String itemName;

    @Schema(description = "单位")
    @ExcelProperty("单位")
    private String unit;

    @Schema(description = "规格型号")
    @ExcelProperty("规格型号")
    private String specModel;

    @Schema(description = "货物/验收标准")
    @ExcelProperty("货物/验收标准")
    private String acceptanceStandard;

    @Schema(description = "产地")
    @ExcelProperty("产地")
    private String originPlace;

    @Schema(description = "预估采购数量")
    @ExcelProperty("预估采购数量")
    private BigDecimal estimatedQuantity;

    @Schema(description = "预估单价（含税/万元）", example = "2740")
    @ExcelProperty("预估单价（含税/万元）")
    private BigDecimal estimatedUnitPrice;

    @Schema(description = "合计（含税/万元）")
    @ExcelProperty("合计（含税/万元）")
    private BigDecimal totalAmount;

    @Schema(description = "失败原因")
    @ExcelProperty("message")
    private String message;
}